package com.mayikt.main.container;

import java.util.concurrent.LinkedBlockingQueue;

/**
 * @author wangjin
 * @title: MayiktLogContainer
 * @projectName mayikt-cloud
 * @description: TODO
 * @date 2022/5/2 0002 13:57
 */
public class MayiktLogContainer {
    private static LinkedBlockingQueue linkedBlockingQueue = new LinkedBlockingQueue<AsyncLogWrappper>();

    public static void addLog(AsyncLogWrappper asyncLogWrappper) {
        linkedBlockingQueue.offer(asyncLogWrappper);
    }

    public static LinkedBlockingQueue<AsyncLogWrappper> getlinkedBlockingQueue() {
        return linkedBlockingQueue;
    }
}
